﻿using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Text;

namespace WebView2.Model
{
    /// <summary>
    /// 浏览历史记录
    /// </summary>
    public class History
    {
        //主键自增
        [Column(IsPrimary = true, IsIdentity = true)]
        public int Id { get; set; }
        /// <summary>
        /// 浏览器进程ID
        /// </summary>
        public int BrowserProcessId { get; set; }
        /// <summary>
        /// 跳转的地址
        /// </summary>
        public string URL { get; set; }
        [Column(ServerTime = DateTimeKind.Local, CanUpdate = false)]
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        public string DocumentTitle { get; set; }
    }
}
